package com.server.common.logistics.interfaces;

import com.server.common.logistics.enums.LogisticsCompanyEnum;

/**
 * 物流服务工厂接口
 * @author LXC
 * @date 2022/6/5 23:08
 */
public interface LogisticsFactoryInterface {

    /**
     * 获取接口
     * @author LXC
     * @date 2023/2/9 17:04
     */
    LogisticsService getLogisticsInterface(LogisticsCompanyEnum logisticsCompanyEnum);

    /**
     * 注册
     * @author LXC
     * @date 2023/2/9 17:04
     */
    void register(LogisticsCompanyEnum logisticsCompanyEnum, LogisticsService fileInterface);
}
